Filter hook 'edit_post_{$field}'
in WP Core File wp-includes/post.php at line 2920
Description
Filters the value of a specific post field to edit. The dynamic portion of the hook name, `$field_no_prefix`, refers to the post field name.
Occurrences
Filename |
Line Number |
wp-includes/post.php |
2920 |
Parameters
Type |
Name |
Description |
mixed |
$value |
Value of the post field. |
int |
$post_id |
Post ID. |
PHP Doc
/**
* Filters the value of a specific post field to edit.
*
* The dynamic portion of the hook name, `$field_no_prefix`, refers to
* the post field name.
*
* @since 2.3.0
*
* @param mixed $value Value of the post field.
* @param int $post_id Post ID.
*/